import request from '@/utils/request'

// 获得项目统计分页
export function getProjectPage(query) {
  return request({
    url: '/statistics/projectStatistics/page',
    method: 'get',
    params: query
  })
}


// 获得任务类型统计
export function getTaskType(query) {
  return request({
    url: '/statistics/taskStatistics/taskType',
    method: 'get',
    params: query
  })
}

// 获得任务时间统计
export function getTaskDate(query) {
  return request({
    url: '/statistics/taskStatistics/taskDate',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
